package com.bluemobi.framework.dao.dbutil;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/**
 * 虚拟数据源驱动
 *
 * @author wangchen
 */
public class MultipleDataSource extends AbstractRoutingDataSource {

	@Override
	protected Object determineCurrentLookupKey() {
		return CustomerContextHolder.getContextType();
	}
}
